import Request from "@/util/request.js";

const apiRequest = new Request();

// 登录Api
export const doLoginApi = async (data) => {
    return await apiRequest.post("/api/ucenter.passport/login", data);
}

// 获取验证码
export const getCaptchaApi = async () => {
    return await apiRequest.get("/api/ucenter.passport/captcha");
}
